package com.itheima.project.feign;

import com.itheima.project.basic.ResponseWrap;
import com.itheima.project.hystrix.LogBusinessHystrix;
import com.itheima.project.vo.log.LogBusinessVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;

/**
 * @Description：日志feign服务
 */
@FeignClient(value = "module-log-web",fallback = LogBusinessHystrix.class)
public interface LogBusinessFeign {

    /**
     * @Description 日志保存
     * @param logBusinessVo 查询条件
     * @return
     */
    @PutMapping("log-business")
    ResponseWrap<Boolean> saveLogBusiness(LogBusinessVo logBusinessVo);
}
